import request from '@/utils/request'

// 登录请求
export const login = data => request.post('/sys/login', data)

// 获取用户信息请求
export const getUserProfile = data => request.post('/sys/profile', data)

// 退出请求
export const logout = data => request.post('/api/sys/login', data)

// 获取员工基本信息
export const getUserInfoById = id => request.get('/sys/user/' + id)
// export const getUserByIdDetail = id => request.get('/sys/user/' + id)
